package com.shiyingzi.auser.service;

import java.util.List;

import com.shiyingzi.auser.model.AChannel;
import com.shiyingzi.common.PageableData;
import com.shiyingzi.common.ResponseData;

public interface AChannelService {
	public static String BEAN_ID = "achannel.aChannelService";
	
	/**新增一个用户*/
	public ResponseData addAChannel(AChannel code);
	
	/**获取产品列表*/
	public PageableData<AChannel> queryAChannelList(int page, int limit, String userName);
	
	/**新增一个用户*/
	public ResponseData updateAChannel(AChannel code);
	
	/**获取产品列表*/
	public List<AChannel> findlistBystate();
	/**获取产品列表*/
	public List<AChannel> findAllList();

	/**根据ID获取用户*/
	public AChannel getAChannelById(Integer id);
	
}
